package patterns.adapter.object.core;

import patterns.adapter.type.core.Source;
import patterns.adapter.type.core.Targetable;

public class Wrapper implements Targetable{
	private Source source;
	
	public Wrapper(Source source){
		this.source=source;
	}

	@Override
	public void method1() {
		source.method1();
	}

	@Override
	public void method2() {
		System.out.println("this is the targetable method!");
	}
	
}
